how to create a inventory management